package com.example.springfeature.postProcessor;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * Created with IDEA
 *
 * @author: 董文辉
 * Date: 2019/2/21
 * Time: 17:13
 */
@Configuration
@ImportResource("classpath:spring/spring-root.xml")
@ComponentScan(value={"com.example.springfeature"})
public class UserConfiguration{
    /*@Bean
    public User initUser(){
        User user = new User();
        user.setName("测试员");
        user.setPhone("000000000");
        return user;
    }*/
}
